package com.yhos.platform.oopston.mapper.model.oopston;

import com.yhos.platform.oopston.mapper.model.BaseOrderCreateRequestModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created by Administrator on 2020/4/19.
 */
public class OrderCreateRequestApiModel extends BaseOrderCreateRequestModel{

    @ApiModelProperty(value = "订单类型（1：仓储订单；2：转运订单）", required = true)
    private Byte orderType;

    @ApiModelProperty(value = "电子签名（0：不需要；1：需要）", required = true)
    private Byte signType;

    @ApiModelProperty(value = "仓储ID，为转运订单时填0", required = true)
    private Integer warehouseId;

    @ApiModelProperty(value = "包裹信息")
    private List<OrderPackageCreateRequestApiModel> orderPackages;

    @ApiModelProperty(value = "产品信息 根据实际发货种类")
    private List<OrderSkuCreateRequestApiModel> orderProducts;

    public Byte getOrderType() {
        return orderType;
    }

    public void setOrderType(Byte orderType) {
        this.orderType = orderType;
    }

    public Byte getSignType() {
        return signType;
    }

    public void setSignType(Byte signType) {
        this.signType = signType;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public List<OrderPackageCreateRequestApiModel> getOrderPackages() {
        return orderPackages;
    }

    public void setOrderPackages(List<OrderPackageCreateRequestApiModel> orderPackages) {
        this.orderPackages = orderPackages;
    }

    public List<OrderSkuCreateRequestApiModel> getOrderProducts() {
        return orderProducts;
    }

    public void setOrderProducts(List<OrderSkuCreateRequestApiModel> orderProducts) {
        this.orderProducts = orderProducts;
    }
}
